package com.joysuch.wwyt.bp.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jingwk
 * @since 2021-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_bp_storage_tank_area")
@ApiModel(value="BpStorageTankArea对象", description="")
public class BpStorageTankAreaDto extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "编码")
    @TableField("CODE")
    private String code;

    @ApiModelProperty(value = "储罐区名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "所在位置")
    @TableField("LOCATION")
    private String location;

    @ApiModelProperty(value = "所处环境功能区")
    @TableField("IN_FUNCTION_AREA")
    private String inFunctionArea;

    @ApiModelProperty(value = "周边安全防护间距(m)")
    @TableField("SAFE_DISTANCE")
    private Float safeDistance;

    @ApiModelProperty(value = "储罐区面积(㎡)")
    @TableField("AREA")
    private Float area;

    @ApiModelProperty(value = "有无围堰")
    @TableField("HAS_COFFERDAM")
    private String hasCofferdam;

    @ApiModelProperty(value = "围堰所围面积(㎡)")
    @TableField("COFFERDAM_AREA")
    private Float cofferdamArea;

    @ApiModelProperty(value = "储罐个数")
    @TableField("TANK_COUNT")
    private Integer tankCount;

    @ApiModelProperty(value = "储存物质")
    @TableField("STORE_MATERIAL")
    private String storeMaterial;

    @ApiModelProperty(value = "储罐区总容积(m3)")
    @TableField("VOLUME")
    private Float volume;

    @ApiModelProperty(value = "常规储存量(m3)")
    @TableField("NOMAL_STORAGE")
    private Float nomalStorage;

    @ApiModelProperty(value = "两罐间最小间距(m)")
    @TableField("MIN_DISTANCE")
    private Float minDistance;

    @ApiModelProperty(value = "有无消防通道")
    @TableField("HAS_FIRE_CHANNEL")
    private String hasFireChannel;

    @ApiModelProperty(value = "装卸方式")
    @TableField("LOAD_METHOD")
    private String loadMethod;

    @ApiModelProperty(value = "装卸危险化学品种类")
    @TableField("LOAD_CHEM_TYPES")
    private String loadChemTypes;

    @ApiModelProperty(value = "是否构成重大危险源")
    @TableField("IS_MAJOR_HAZARD")
    private String isMajorHazard;

    @ApiModelProperty(value = "所属危险化学品重大危险源单元")
    @TableField("MAJOR_HAZARD_ID")
    private String majorHazardId;

    @ApiModelProperty(value = "责任部门")
    private Long responsibleDept;


}
